﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Member.Model;
using System.Linq.Expressions;

namespace Member.IBLL
{
    public interface IUsersManageBLL:IBaseBLL<User>
    {
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        bool delete(int id);
        /// <summary>
        /// 查询该电话号码是否注册
        /// </summary>
        /// <returns></returns>
        bool istell(string tell);
        /// <summary>
        /// 根据查询条件获取总数量
        /// </summary>
        /// <param name="WhereLambda">条件</param>
        /// <returns></returns>
        int maxshow(Expression<Func<User, bool>> WhereLambda);
    }
}
